export const carts = {
    ADD(state, data) {
        state.todoLists.unshift(data)
        localStorage.setItem('todoLists', JSON.stringify(state.todoLists))
    },
    REPLACE(state, data) {
        state.todoLists = data
        localStorage.setItem('todoLists', JSON.stringify(state.todoLists))
    },
}